package eurostar.com.functional;


import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
//import org.openqa.selenium.htmlunit.HtmlUnitDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.testng.annotations.AfterClass; 
import org.testng.annotations.BeforeClass; 
import org.testng.annotations.Test; 


public class test {
	  @BeforeClass 
	    public void setupMyDriver(){ 
	        //driver = new InternetExplorerDriver(); 
	    } 

	
	  @Test 
	  // public static void main(String[] args) {
	  public void googletest() {
        WebDriver driver = new FirefoxDriver();
        driver.get("http://www.google.com");
        WebElement element = driver.findElement(By.name("q"));
        element.sendKeys("swapna");
        element.submit();
    }
	  
	  @AfterClass 
	    public void cleanUpDriver(){ 
	        //driver.quit(); 
	    } 

}




